/// Channel统一导出文件
/// 提供所有Channel类的统一访问入口

export 'data_channel.dart';
export 'data_event_channel.dart';  /// 新增
export 'navigation_channel.dart';
export 'plugin_channel.dart';
export 'channel_error_handler.dart';

/// Channel使用示例：
/// 
/// ```dart
/// import 'package:yh_core_flutter_project/project/common/channels/index.dart';
/// 
/// // 数据通信
/// final userInfo = await DataChannel.sendUserInfo({'name': '张三'});
/// final deviceInfo = await DataChannel.getDeviceInfo();
/// 
/// // 数据事件流监听
/// DataEventChannel.nativeDataStream.listen((data) {
///   print('收到iOS数据流: $data');
/// });
/// 
/// // 页面交互
/// final success = await NavigationChannel.openPageA({'name': '张三'});
/// final webViewSuccess = await NavigationChannel.openWebView('https://example.com');
/// 
/// // 第三方插件
/// final loginResult = await PluginChannel.googleLogin();
/// final paymentResult = await PluginChannel.alipayPayment(orderId: '123', amount: 99.9);
/// 
/// // 错误处理
/// try {
///   await DataChannel.sendUserInfo(userInfo);
/// } on PlatformException catch (e) {
///   ChannelErrorHandler.handleError(e, '发送用户信息', 'DataChannel');
/// }
/// ```

